[Top] [Prev] [Next] [Bottom]
[Contents]
SaVbsNotDigit
Prints a VB Script statement to check if a character is not a digit or newline character to standard out.
#include "savbs.h"
int SaVbsNotDigit(char* msg);
Argument
- msg
- A string specifying a character or variable to check if it is not a digit.
Return Values
Returns an integer with a value of 0 if successful and a value of 1 if msg is either NULL or an empty string.
Prints VB Script code to check that a character is not a digit or newline to standard out.
The code fragment:
SaVbsNotDigit("ch");
will write:
If ch < "0" Or ch > "9" Then\n
to the output stream.
SaVbsB, SaVbsCommE, SaVbsE, SaVbsEndIf, SaVbsFuncTrue, SaVbsFuncFalse, SaVbsMsgBox, SaVbsPrint, SaVbsIsLower, SaVbsIsUpper, SaVbsLenZero, SaVbsLenNe, SaVbsStdFor, SaVbsCommB, SaVbsExitF, SaVbsEndF, SaVbsNext, SaVbsElse, SaVbsDecl, SaVbsNTabs, SaVbsNLines
[Top] [Prev] [Next] [Bottom]
[Contents]
info@bluestone.com
Copyright © 1997, Bluestone. All rights
reserved.